package com.huilian.iotbox.data.po;

import com.huilian.iotbox.data.dto.QueryParam;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class CommodityStock extends QueryParam implements Serializable {
    private Long id;

    /**
     * 场地Id
     */
    private Integer merchantStoreId;

    /**
     * 用户Id
     */
    private Integer userId;
    /**
     * 供应商id
     */
    private Integer commoditySupplierId;
    /**
     * 商品id
     */
    private Long commodityId;
    
    private Boolean inventoryReminder;

    /**
     * 库存
     */
    private Integer stock;
    /**
     * 安全库存
     */
    private Integer safeStock;
    /**
     * 成本价
     */
    private BigDecimal costPrice;
    /**
     * 售价
     */
    private BigDecimal retailPrice;
    /**
     * 最近的盘点日期
     */
    private Date dateOfInventory;

    private Integer version;


}
